implemented ionic modal