Added conditions to dialogue