SUX-26, cancel will not cause alert error if empty. Should deal with save for the same case. huan