ESC should close any opened dialog #188