document status listener