Deleted redundant code.
Deleted redundant code.

- Deletd code that is no longer in use.
- Adjusted existing spec test to use custom button functionality that's in use

Fixes #5553
(transferred from ManageIQ/manageiq@781fe477144024a26334af774c784e4c6204b320)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic