implemented bootstrap modal dialog