updated versions to include better support for dialog