Escape now closes dialogs