extends WindowDialog func _on_CloseButton_pressed(): hide() func _on_MenuButton_button_down(): if !is_visible(): popup()