Contact form: Fix which window was allowed to be closed.