Provide a switch to choose Dialog backend. Fixes #85