Implement possibility to add elements without demo-element (AppWithEditDialog)

Merge changes for AddWithEditDialog to master branch.