This PR fixes some issue with add filter/add script buttons.
First the save button was calling unexisting close function
Also it raise the z-index of alerts so they won't be hidden by modal
Also when editing a filter, it fixes the default value of action when it is a textarea. The value was not set.
Finally it fixes the conditions/actions which were not cleared after clicking on one. To reproduce this click on edit icon of a filter then close the modal, click edit on another filter you will see that they will be combined.
This PR fixes some issue with add filter/add script buttons. First the save button was calling unexisting close function Also it raise the z-index of alerts so they won't be hidden by modal Also when editing a filter, it fixes the default value of action when it is a textarea. The value was not set. Finally it fixes the conditions/actions which were not cleared after clicking on one. To reproduce this click on edit icon of a filter then close the modal, click edit on another filter you will see that they will be combined.