change media edit to get id from session variable instead of query stringg (caching issues)