Preventing modals which are fading in from dissapearing.