Fixed UI bugs:
1) \r\n symbols in resource names
2) Dialog layout on resource page
3) Dialog crash on creation of feature in template