Dismiss button fix

Fix
We fixed an issue where dismiss button was disappearing on certain setting combinations for slideshow mode.