Added dialog to add / edit items