Alternative fix for modal?