added logic to hide button in oasis page header