home view action sheet: change clickedButtonAtIndex to didDismissWithButtonIndex to ensure action sheet goes away before modal is presented