Fixed itemType and format of login dialog

- ifEqualToAny to ifequal
- moved modal-body outside of modal-header