Fixed small bug with dialog and added constraints to work hours