public void DestroyDialog(GameObject dialog) { dialogIsActive = false; dialogPool.DestroyObject(dialog); currentDialog = null; }