loads a modal dialog