ext.state === 'suspended') {
                audioContext.resume().then(() => {
                    console.log('AudioContext resumed successfully');
                }).catch(error => {
                    console.error('Failed to resume AudioContext:', error);
                });
            }
        });
		
		function testAction(actionData) {
			processInput(actionData);
		}

		window.testAction = testAction;
        
        // Initialize or show modal based on whether session ID is needed