modal loading moved after the javascript includes
confirm modal shown on model deletion