make edit/Add window appears only one time
modifiyng add_window