add trash icon for wp parent and disable add button if parent id is empty.