When set to true, the overlay is hidden. This also closes the overlay immediately in case there is a closing animation in progress.