Fixed dialog history and added Image Urls

Dialog history now works smartly, and Image Urls can now be used.
Collapsed Image and Image Url menu items on Server into one dialog.