One issue I'm facing is with my modal dialog (#busyIndicator). It simply displays a message that reads "Please Wait". Sometimes, the operation it's tied to completes so quickly that the visual transition between showing and hiding the dialog becomes a rapid blur. This can be quite disorienting and uncomfortable for users.
I'm wondering if there's a way to make the modal disappear more gradually, maybe by introducing a delay when it fades out. I attempted to achieve this effect using
$('#busyIndicator').fadeOut(2000).modal('hide');
, but unfortunately, it doesn't seem to have the desired impact.