Hide modal dismiss button when it has no meaning.

resolves PRXNXT-70
Merge pull request #45 from PRX/feat/hide_modal_dismiss_when_unavailable

Hide modal dismiss button when it has no meaning.