Fixed date-popup (was displaying shortly then disappearing)