Hide modal dismiss button when it has no meaning.

resolves PRXNXT-70