[BZ 1128276] - Custom time range, if set with invalid wrong range, cannot set back - Adding a client side validation in web UI

(cherry picked from commit 67c7f3f024e99b90b8412d0da8c4d0cc4971c492)
Signed-off-by: Mike Thompson <mithomps@redhat.com>