Hid buttons in partial, added if statement on partial