ability to edit aliases

Bug in alias model made it impossible to open edit dialog.