added closing the form by pressing ESC key