Button to hide modal uses divs and transform instead of canvas