Update appinventor/components/src/com/google/appinventor/components/runtime/Notifier.java

Updated Notifier ShowChooseDialog and ShowTextDialog to include an additional boolean argument. When set to true, it will add a Cancel button to the dialog, allowing user to cancel out of dialog. The cancel button will trigger AfterChoosing or AfterTextInput.