Resolved issue with log in frame after clicking close for 3 or more times