Removed feature on modal-dialog enabling to close a dialog that has no buttons by pressing ESC or by clicking on the transparent background.