download modal, some jquery attempts...

modal doesn't open when called from click function?