Basic editor added to new tab on button click