modal automatically hides if user successfully logs in fb