add delay option in advanced dialog