bugfix for missing files in bundles; bugfix for dialogs on top as well