adding buttons to a panel