CORE-4707: App share menu item disabled for non-runnable apps
Additionally, faulty logic in the submit apps button which launched 2 submit dialogs was removed.