Moves buttons to partials