expose HandleInteractiveMode for embeddability

cbugg: bug-683