Working on resident document buttons