Putting options from pop up menu into panels.