Can now remove functions and texts from a panel.