Dialog working with some commands