fixing modal glitch when read is marked while viewing