At the moment when you're editing a content item that has a attribute of type media, you get an image preview, and clicking on the image link opens a new window.
Update so a modal dialog is used. Contents of dialog should be the same as current window. Currently when you choose a new image (not clicking image but link underneath it) the window closes.
The new behaviour will be:
- select image
- click Ok or Cancel
- either button closes dialog and updates image in parent screen
New modal dialog will have 2 tabs:
- Select Image
- Upload new image
For upload image view, contents of view and functionality should remain identical to how it is now