escape closes all modal dialogs; get rid of extraneous line