mapfishapp: prevent unwanted empty tab on each new query