[PD] [patch] add "escape" to close all dialogs