get test coverage on lines 43,44 of modal helper