PDI-11169 - Changing warning dialog to only show on ok button click