cancel button and documents count on tickets changes