add adoption capability and hid button when appropriate