Support for the enter key triggering next action for extension modals