Adding permissions dialog to initializer