Fix conflict when creating instance while editing

Ad hoc fix that prevents a user from creating a new resource via the
class module context menu when there is already a RDFAuthor widget open.
Allowing both at the same time will lead to conflicts that could maybe be
resolved later on.