def on_save_coords(self): if not self.mockmapview.is_target_shown: toast("No Target to save. Press on the map to place a Target") else: Dialogs.show_save_dialog()