added unit test for ResponseCommand->modal()