Rework process to check if modal exists inside of the mouseIntercept function, not the createModal function