Login makes modal dissappear