Added a modal dialog