Hide button to open modal when warning is treated