added loading dialog for hibernate startup