Added new dialog functions (not yet used).