Replaced dialog with bootstrap3 modal