check modal src type