media box edit button fix