added alert dialog on edit window of item