added closing of form with escape
added new control and started implementing form