Fix wrong signalt attached to the 'Do you want to resend data?' dialog

Fix an issue with the "Are you sure that you want to send form data again?" dialog never going away from the screen. The issue is due to the wrong signal being attached to the dialog.