Implemented context dependent dialog behavior