Check if model is editable before show modules (fix for #22)