= false) {
                hideMessage();
                return;
            }
            
            // Handle different data formats
            if (data.contents === false) {
                hideMessage();
                return;
            }
            
            // If data has contents property, use it
            if (data && data.contents) {
                showMessage(data.contents);
            } 
            // If data has content property (from dock)
            else if (dat