add open message dialog command