Prevent multiple event handler binding

Flag 'formInitialised' is added to prevent adding the same event handlers multiple times to the form.