Refactoring media box tab actions.