show quit modal on clicking generate