Corrected hibernate dialog