buttons hide when no options are available