moving add edit dialog