demo: clear input text value with cancel button click