Refactored permissions.
Resource dialog now shows spinner when doing network activity.
Read only mode tested and bugs fixed.