Refactor main modal dialog display