adjusted css width to popup modal and removed mask click event