Right now, the site name can be edited but submitting it won't do anything. This functionality needs to be changed as follows:
Editing shouldn't be possible if passwords exist. An error message should show up explaining that websites with passwords cannot be turned into aliases.
If new site name is submitted, the original name should become the alias of the new name and new password list should be loaded.
There should be a submit button so that the site name can be saved by other means than pressing Enter.
If an alias is already in effect editing the site's name shouldn't be possible. Instead, the alias should be displayed along with a button to revert it.
Right now, the site name can be edited but submitting it won't do anything. This functionality needs to be changed as follows: