fixed issues with show modal, it now properly shows and hides instead of removing