new doc button callback