5864- Fixing the Double click error
What github issue is this PR for, if any?
Resolves #5864
What changed, and why?
The Filter Modal was not closing even when clicked on button to hide. The problem there was a syntax error and also a validation which resulted true always. these events were led to this error.
And also from user perspective , Once the user clicks on Filter button inside the modal after reloading the page with new results the filter modal should be closed as size of it is huge (it occupies total view port) and makes the user to scrollnup to see what the results are after applying filters. if he is not satisfied he need to scroll up again and vary the filter inputs. If the filter closes on default on page load, user can see the results right on top of page without scrolling up and can vary filter inputs by opening modal by just clicking on Show / Hide button if he wants to change anything.
This is just my input