Xpages quick-tip: keyboard shortcut to close the script dialog 31 August 201024 June 2019 The keyboard shortcut for pressing the Ok button in the script dialog is Ctrl – Enter. The Esc-key is the equivalent of the Cancel button. Now you can code your XPages even faster 🙂