Modal.js - fixed creating select/delete media buttons.