IDE-1813 bug fix and improvement of layout editor
 - fixed empty class name issue
 - made role and id unchangable