add a new action to allow surfaces to access Keyboard::close_current_dialog()