bug fixes for date validation and toggle submit