Fixed open model editor bug and made right click context menus contextualizable