Improvements to modal dialog documentation