static: modal binding element filter addition

* Adds an optional jQuery filter parameter to the modal binding function; this
is useful, for example, when binding after an AJAX request, when you might want
to skip already bound elements.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>