Allow dialog to take id.