ignore warning if its canceled by the user