Attempting fix for multiple modal issue