using Zentyal.Dialog for remote backup
ported remains of Modalbox.js to Zentyal.Dialog