Improved behavior of ticket view closing and failed send attempt.