tweaks and fixes for doc show edit