fixed the modify panel not hiding after changing dates in the remove form