Adding loading dialog box

jQuery UI dialog box opens when the table is being loaded up.