fix modal timer to pop only if unauth