typos fixed, data dialog layout refactored, function contains display fix