fixed case in dialog demo