Fixed #914 - Prevented the overlay to trigger a form post