fix bug with editing time showing a confirmation