Added docs for dialog, fix for travis ci.