adding jQuery UI dialog  and fixing log links issue