#1818 Uncaught TypeError: Cannot call method 'modal' of null