change log and comment close window confirmation