Fixes #6192 removes visible css attribute from modal tree to give it scrolling properties