add resource dependent destroy and adjust btns