fixed datepicker in popups
minor changes
upd