fixed open function
Merge branch 'feature/popup2' of github.com:mapbender/fom into feature/popup2