fixing cups again
allow closing modal