Adds a condition for the display of btn div on admin pages.