activate cancel button after last tag removed