Use modal dialog to preview/edit images