move uac dialog generation to res.ack