Initial version of API for making things permanent
Get rid of some debug code
Merge pull request #1864 from Wikia/WikiaMediaInsertDialog-video

Initial version of API for making things permanent