Fix (core); Enabled jquery error modal and remove old codes