Fixes a Tags Manager crash if a (custom) model is missing; encapsulates import/export views within div