Modal wrapper for Angular-UI's bootstrap modal