Send message when 'ok' button click to trigger submit of the form.