Added FunctionDialog to display when function is clicked in function menu. It contains a FunctionPanel which should display the run and cancel buttons and allow selecting arguments for the function