Adding a modal window that might be used to add function plot