disables the save button if the required fields are empty
fixes bug where the tasks weren't saving