Modal hiding links fix.