Prevent multiple popup of message box