Added collapsed attribute to widgets
Add, edit, delete domains