show/hide dismiss button