added the popup
adding sample app permissions back.