add unit tests for ItemEditor.View
add unit tests for PopupDialog