Manage dialog conditions

Randomly select a dialog according to AI's state and dialogs state conditions