edit open dialog twice