feature(edit) beforeClose: if -> ifExist
refactor(edit) Util.exec -> exec