modal works properly except can't figure out why it only disappears if you click in very certain spots. otherwise great progress