Bugfix in "media" plugin

Bugfixes in "media" plugin - edit selected video instead of adding new & lost focus bugfix.