Added a general, parameter based panel handler