Disables save button on attempt with invalid date

Previously save button was not disabled if deadline was valid when entered
but not when save is clicked.

Author: dbtrue, ammesonb