removed raw/html button and destroy of navpane