modal repition fix