first version with working modal using angular-ui