[#1710] add a cancel button.