Task#4928 - Checking if chat window exists before method call