Incorporated cancel button convenience method into init.