updated documentation for Dialog