#323 Removing enter key attaching when destroying modal dialogs;