Added view layout on edit to ensure proper position of an the editor
if the selected tab has just been added.