Translation and improvements

Added title translation for video dialog, removed code duplication.
Video is now added to the selected page part, on the selected block inside WYMEditor.
The dialog is being closed after successfully inserting the video.