Fixed issue with updateMessage appearing after canceling (because the cancel was causing  form submit since I didn't specify the "type").