Fixed a bug in popup, If you have a form inside

If you had a form in a popup, you could not enter data with the
keyboard because events where not passed to the form due to the
preventDefault…
Now only the escape character is prevented...