Removes the specifies page from the task pane.
Call this function to remove a page from the task pane.