added training dialog