function requireConfirm(msg)
{
  if (!msg) { msg = ''; }
  return confirm('Are you sure?\n'+msg);
}